package com.situ.user.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;
import java.util.Map;

@Mapper
public interface PicMapper {

    @Select({
           "select name from goods_picturre\n" +
                   "union\n" +
                   "select picture from goods_sort\n" +
                   "UNION\n" +
                   "select head from root\n" +
                   "UNION\n" +
                   "select head from user"
    })
    ArrayList<Map<String, String>> selectAll();
}
